package com.tl.khadmin.service;

import java.io.File;
import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpSession;

import org.springframework.web.multipart.MultipartFile;

import com.tl.khadmin.bean.ProductSupply;
import com.tl.khadmin.bean.dto.ProductSupplyDto;
import com.tl.khadmin.bean.dto.ProductSupplyListDto;
import com.tl.khadmin.page.Page;

public interface ProductSupplyIService {  

	Page<ProductSupplyListDto> showProductSupplyByPage(HttpSession session, Integer pageNum,Integer pageSize, Map<String,Object> params);

	Map<String, Object> saveProductSupply(ProductSupply shopProductSupply); 

	int updateSaleState(Long id, Integer saleStatus);

	String saveProductSupply(HttpSession session, ProductSupplyDto productSupplyDto);

	Map<String, String> upLoadDeclarationImg(String path, MultipartFile file);

	Map<String, Object> queryProductById(Long id);

	String updateProductSupply(HttpSession session, ProductSupplyDto productSupplyDto);

	String audit(HttpSession session, ProductSupplyDto productSupplyDto); 
}
